package sctu.edu.java.year2016.team07.liaohengju.day20160529.chapter7_2;

/**
 * Created by hengju on 2016/5/30.
 */
import java.util.Scanner;
public class Text {
    public static void main(String[] args){
        System.out.println("输入矩形的长:");
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        System.out.println("输入矩形的宽:");
        int b = scan.nextInt();
        JvXing jvXing = new JvXing(a,b);
        System.out.println("矩形的面积="+JvXing.Area());
    }
}
